home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / var / lib / dpkg / info / nano.prerm < prev    next >
Text File  |  2008-09-24  |  722b  |  28 lines

  1. #!/bin/sh
  2.  
  3. set -e
  4.  
  5. if [ "$1" != "upgrade" ]; then
  6.     update-alternatives --remove editor /bin/nano
  7.     update-alternatives --remove pico /bin/nano
  8. fi
  9.  
  10. # Automatically added by dh_installdocs
  11. if [ "$1" = remove ] || [ "$1" = upgrade ] && \
  12.    which install-docs >/dev/null 2>&1; then
  13.     install-docs -r nano-faq
  14. fi
  15. # End automatically added section
  16. # Automatically added by dh_installdocs
  17. if [ "$1" = remove ] || [ "$1" = upgrade ] && \
  18.    which install-docs >/dev/null 2>&1; then
  19.     install-docs -r nano
  20. fi
  21. # End automatically added section
  22. # Automatically added by dh_installinfo
  23. if [ "$1" = remove ] || [ "$1" = upgrade ]; then
  24.     install-info --quiet --remove /usr/share/info/nano.info
  25. fi
  26. # End automatically added section
  27.  
  28.